home *** CD-ROM | disk | FTP | other *** search
- !!Script
- // Copyright ⌐ 1997-2002 - Modelworks Software
-
- // Insert script helper for:
-
- /**
- @Object: TreeNode
- @Method: setProperty(name, value)~sets the value of the named property
- associated with this node.
- @Syntax: treenode.setProperty(name, value)
- @Summary: setProperty(name, value)~sets the value of the named property
- */
-
- function DoCommand()
- {
- var editor = getActiveEditor();
- if (editor)
- {
- var selection = editor.getSelection();
- editor.replace("treenode.setProperty(name, value);", selection);
- editor.setActive("Insert treenode.setProperty");
- }
- }
-
- !!/Script